package org.jeecg.modules.meta.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 字段信息
 * @Author: jeecg-boot
 * @Date:   2019-05-22
 * @Version: V1.0
 */
@Data
@TableName("t_sys_fieldinfo")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="t_sys_fieldinfo对象", description="字段信息")
public class SysFieldinfo {

	/**id*/
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private java.lang.String id;
	/**表id*/
	@Excel(name = "表id", width = 15)
	@ApiModelProperty(value = "表id")
	@Dict(dictTable = "t_sys_tableinfo",dicText = "fd_tablename",dicCode = "fd_tableid")
	private java.lang.String fdTableid;
	/**字段id*/
	@Excel(name = "字段id", width = 15)
	@ApiModelProperty(value = "字段id")
	private java.lang.String fdFieldid;
	/**字段名*/
	@Excel(name = "字段名", width = 15)
	@ApiModelProperty(value = "字段名")
	private java.lang.String fdFieldname;
	/**描述*/
	@Excel(name = "描述", width = 15)
	@ApiModelProperty(value = "描述")
	private java.lang.String fdFielddesc;
	/**字段类型*/
	@Excel(name = "字段类型", width = 15)
	@ApiModelProperty(value = "字段类型")
	private java.lang.String fdFieldtype;
	/**字段长度*/
	@Excel(name = "字段长度", width = 15)
	@ApiModelProperty(value = "字段长度")
	private java.lang.String fdFieldlength;
	/**字段精度*/
	@Excel(name = "字段精度", width = 15)
	@ApiModelProperty(value = "字段精度")
	private java.lang.String fdFieldscale;
	/**字段排序*/
	@Excel(name = "字段排序", width = 15)
	@ApiModelProperty(value = "字段排序")
	private java.lang.String fdFieldorder;
	/**源数据类型*/
	@Excel(name = "源数据类型", width = 15)
	@ApiModelProperty(value = "源数据类型")
	private java.lang.String fdSrcfieldtype;
	/**转换后hive类型*/
	@Excel(name = "转换后hive类型", width = 15)
	@ApiModelProperty(value = "转换后hive类型")
	private java.lang.String fdHivefieldtype;
	/**状态
	 0:正常，1：同步中，2：已删除*/
	@Excel(name = "状态 0:正常，1：同步中，2：已删除", width = 15,dicCode = "fieldinfo_state")
	@Dict(dicCode = "fieldinfo_state")
	@ApiModelProperty(value = "状态 0:正常，1：同步中，2：已删除")
	private java.lang.String fdStatus;
	/**规则名称*/
	@Excel(name = "规则名称", width = 15)
	@ApiModelProperty(value = "规则名称")
	@Dict(dictParamName = "FDRULENAME",dicCode = "")
	private java.lang.String fdRulename;
	/**fdRulelevel*/
	@Excel(name = "规则等级")
	@Dict(dictParamName = "RULELEVE",dicCode = "")
	private java.lang.String fdRulelevel;
	/**fdTablesource*/
	@Excel(name = "fdTablesource", width = 15)
	@ApiModelProperty(value = "fdTablesource")
	private java.lang.String fdTablesource;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private java.lang.Integer createUser;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	@ApiModelProperty(value = "更新人")
	private java.lang.Integer updateUser;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
	@ApiModelProperty(value = "是否删除")
	private java.lang.Integer isDetele;
}
